home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fritz: All Fritz
/
All Fritz.zip
/
All Fritz
/
FILES
/
BUSINESS
/
MTRAK1.LZH
/
INSTALL.BAT
next >
Wrap
DOS Batch File
|
1992-12-08
|
6KB
|
193 lines
echo off
cls
if %2x==x goto NODRIVE
echo All disk drive designations must end with colons. For instance, drive C
echo is designated as "C:", not "C". Make absolutely sure that you have desig-
echo nated your hard disk correctly.
echo .
echo If your hard disk is not "%2", then press Control-C to abort; otherwise,
pause
echo off
cls
%2
cd\
md MANAGEX
cls
cd\MANAGEX
if exist upgrd.exe erase upgrd.exe
if exist M--PRJCT.LBF goto SKIPSPAC
echo off
cls
echo MT-Tracker requires a minimum of 1 megabyte of hard disk space.
echo .
echo .
echo If you have any doubt that your hard disk has at least 1 megabyte of free
echo space, press Control-C to abort this installation; otherwise,
pause
:SKIPSPAC
if not exist M--PRJCT.LBF goto SKIPBACK
echo off
cls
echo .
echo .
echo Before you go through this installation, please insure that you have
echo current backups of MT-Tracker data you may have developed before today.
echo If you do not have such backups, press Control-C and make them; otherwise,
pause
:SKIPBACK
%1
echo Copying files...
copy *.* %2/v
%2
echo .
echo Erasing old files (if any exist) ...
erase t*.hlp
if exist export.exe erase export.exe
if exist blankcal erase blankcal
if exist blankcl erase blankcl
if exist multtrak.exe rename mt.bat mtx.bat
if exist mttrack.exe erase mttrack.exe
if exist mttrack.ovr erase mttrack.ovr
if exist sample.lbt erase sample.lbt
if exist sample.rpt erase sample.rpt
if exist sample1.rpt erase sample1.rpt
if exist sample2.rpt erase sample2.rpt
if exist mttrack.doc erase mttrack.doc
if exist upgrd.com erase upgrd.com
if exist m-lbmerge.dat erase m-lbmerge.dat
if exist prntdrvr.exe erase prntdrvr.exe
if exist editx.exe erase editx.exe
if exist mt-fix.exe erase mt-fix.exe
if exist moe.exe erase moe.exe
if exist printdoc.bat erase printdoc.bat
if exist b-beep.exe erase b-beep.exe
echo VERY IMPORTANT
echo .
echo .
echo Now, some program files will be extracted from an archive. Before each
echo file is extracted, a check will be made to see whether a similarly named
echo one already exists on your hard disk. If so, you'll be asked whether you
echo wish to overwrite it with a new copy. If you were to answer "YES", some of
echo your customizations might be overwritten with plain "vanilla" data.
echo .
echo THEREFORE, ALWAYS ANSWER "NO" BY PRESSSING THE "N" KEY.
echo .
echo .
echo .
pause
cls
:EXTRACT
mltk
erase mltk.exe
if exist M--PRJCT.LBF goto SKIPDOC
if exist 1sttime.fyl erase 1sttime.fyl
prntdrvr
echo off
cls
echo The instructions must be printed.
echo .
echo .
echo Now, turn your printer OFF and then ON. Make sure that it is ready to
echo print and that you have loaded at least 60 sheets of paper. Then, align
echo the print head 1/2" below the top of the first sheet.
echo .
pause
cls
echo Printing documentation...
type README.DOC >prn
type MTTRACK.DOC >prn
cls
echo The documentation has been printed.
echo .
pause
cls
echo .
echo MT-Tracker is now installed on your hard disk in the MANAGEX directory. To
echo access the program, do the following:
echo .
echo 1) enter "%2" at the prompt (this logs you onto drive %2);
echo 2) enter "CD\MANAGEX" at the prompt ("CD" means "Change Dirctory");
echo 3) enter "MT" at the prompt.
echo .
echo .
echo Also, remember to go through the instructions, step by step.
echo .
echo .
pause
cls
echo At your earliest convenience, copy the BACKUP and RESTORE utilities (from
echo the DOS diskette that came with your computer) to the MANAGEX directory,
echo or make sure that those two utilities are in your computer's "PATH".
echo MT-Tracker needs them for creating and restoring archive files.
echo .
echo .
echo .
pause
goto END
:SKIPDOC
echo off
cls
echo .
echo IF YOU'RE A REGISTERED USER...
echo .
echo This installation has resulted in a personalized copy of MT-Tracker.
echo Now, when you run the program, the title screen will contain both your
echo name and a serial number. Whenever you need assistance from Integra, you
echo will need to provide your helper with this number.
echo .
echo Though you are encouraged to give copies of MT-TRACKER to your
echo friends, don't allow anyone to have access to any files that have your
echo name and serial number; that is, don't give your friends any files from
echo your hard disk's ManageX subdirectory. Since the program files on your
echo hard disk been customized for your computer and personal preferences,
echo they may produce unpredictable results on your friends' machines at some
echo future time.
echo .
echo DO pass around copies of the MT-Tracker diskette, but DON'T tell anyone
echo your serial number, since a user must register to receive one of his own.
echo .
echo .
echo Thanks.
echo .
echo .
pause
echo off
cls
echo VERY IMPORTANT!!
echo .
echo .
echo Be sure to save the disk containing this version of MT-Tracker. You
echo may need it at some time in the future if your hard disk files are lost.
echo .
echo .
pause
echo off
cls
echo .
echo .
echo To print the full MT-Tracker documentation, load about 60 sheets into your
echo printer. Then, align the printhead about 1/2" below the top of the first
echo sheet and type "PRINTDOC" at the prompt below.
echo.
echo.
echo .
echo .
pause
echo Thanks for your support!
echo .
echo .
goto END
pause
:NODRIVE
cls
echo .
echo You must designate BOTH the SOURCE diskette and the HARD disk
echo .
echo examples:
echo .
echo "B:INSTALL B: C:" will install MT-Tracker from drive B to drive C
echo "A:INSTALL A: D:" will install MT-Tracker from drive A to drive D
echo .
echo PLEASE TRY AGAIN
:END